// LightspeedTraderAPIDemo.h : main header file for the LightspeedTraderAPIDemo DLL
//

#pragma once

#ifndef __AFXWIN_H__
	#error "include 'stdafx.h' before including this file for PCH"
#endif

#include "MainDemoLauncherDlg.h"
#include "resource.h"		// main symbols

#include "ModelessDialog.h"


// CLightspeedTraderAPIDemoApp
// See LightspeedTraderAPIDemo.cpp for the implementation of this class
//

class CLightspeedTraderAPIDemoApp : public CWinApp
{
public:
	CLightspeedTraderAPIDemoApp();

	void StartExtension();
	void StopExtension();

	BOOL CreateDlg(CModelessDialog *pDlg);
	void DestroyDlg(CModelessDialog *pDlg);

// Overrides
public:
	virtual BOOL InitInstance();
	static CLightspeedTraderAPIDemoApp *GetInstance();

	DECLARE_MESSAGE_MAP()

private:
	static CLightspeedTraderAPIDemoApp *instance;

	std::set<CModelessDialog *> windows;
};
